package com.lmqb.dao;

import java.math.BigDecimal;
import java.util.List;

import com.lmqb.bean.LmLoan;
import com.lmqb.page.HitsPager;
import com.lmqb.page.LoanPager;

public interface LmLoanMapper {
    int deleteByPrimaryKey(String loanNo);

    int insert(LmLoan record);

    int insertSelective(LmLoan record);

    LmLoan selectByPrimaryKey(String loanNo);

    int updateByPrimaryKeySelective(LmLoan record);

    int updateByPrimaryKey(LmLoan record);

	List<LmLoan> selectAll(LoanPager pagerModel);

	int selectCount(LoanPager pagerModel);

	List<LmLoan> selectJieKuan(LoanPager pagerModel);

	int selectCountJieKuan(LoanPager pagerModel);

	List<LmLoan> selectHits(HitsPager pagerModel);

	int selectCountHits(HitsPager pagerModel);

	List<LmLoan> selectAllUser();

	Integer selectFangKuanNum(Integer todayInt);

	BigDecimal selectFangKuan(Integer todayInt);

}